import { get } from "./index";

let list = "http://10.35.166.69:8888"
export const queryArticleList = params => get(list+'/queryArticleList', params) //获取文章列表
export const addArticle = params => get(list+'/addArticle', params) //添加文章
export const deleteArticle = params => get(list+'/deleteArticle', params) //单删除文章
export const updateArticle = params => get(list+'/updateArticle', params) //修改文章
export const updateArticleStatus = params => get(list+'/updateArticleStatus', params) //修改文章状态
export const batchdeletearticle = params => get(list+'/batchdeletearticle', params) //批量删除文章
export const indexNum = params => get(list+'/index', params) //主页数目

